#include <iostream>
using namespace std;


class Date
{
public:
	void Print() const
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	}
private:
	int _year;
	int _month;
	int _day;
};


int main()
{
	Date tmp;
	tmp.Print();
	Date x(tmp);
	x.Print();
	return 0;
}